/*
 * @Author: 脉迈
 * @Date: 2022-01-17 16:41:56
 * @LastEditors: 脉迈
 * @LastEditTime: 2022-01-26 18:03:16
 */
import { http } from "../utils/http";
export const saveTemplate = (data: any) => {
  return http("template/create", {
    method: "post",
    data,
  });
};

export const getTemplateList = (data?: any) => {
  return http("template/get", {
    method: "get",
    data,
  });
};

export const getTemeplateDetail = (data: any) => {
  return http("template/detail", {
    method: "get",
    data,
  });
};
